﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Hospital.ViewModel
{
    public class SpecialistAddViewModel
    {
        
        [DisplayName("姓名")]
        [Required(ErrorMessage = "姓名不能为空")]
        public string Name { get; set; }
        [DisplayName("头像照片")]
        [Required(ErrorMessage = "头像照片不能为空")]
        public string Avatar { get; set; }
        [DisplayName("性别")]
        [Required(ErrorMessage = "性别不能为空")]
        public int Sex { get; set; }
        [DisplayName("科室类别")]
        [Required(ErrorMessage = "科室类别不能为空")]
        public string Category { get; set; }
        [DisplayName("科室")]
        [Required(ErrorMessage = "科室不能为空")]
        public string Department { get; set; }
        [DisplayName("职务名称")]
        [Required(ErrorMessage = "职务名称不能为空")]
        public string TitleName { get; set; }
        [DisplayName("特长概述")]
        [Required(ErrorMessage = "特长概述不能为空")]
        public string Specialty { get; set; }
        [DisplayName("出诊时间")]
        [Required(ErrorMessage = "出诊时间不能为空")]
        public DateTime GetDateTime { get; set; }
    }
}